﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admini/MasterDetail.Master" AutoEventWireup="true" CodeBehind="_SchoolDialog.aspx.cs" Inherits="ART.Admini.Controls._SchoolDialog" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
    <script type="text/javascript">
function funGetValue(objCustomerName,objCustomerId){
    getValue("hidCtl", "txtCtl", null, objSchoolId, objSchoolName, null, getQueryString("btnUniqueId") != null ? "btnUniqueId" : null);
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
    <div id="h_main">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                学校名称：</td>
                            <td style="padding-left: 5px;">
                                <asp:TextBox ID="txtSearch" runat="server" Width="220px"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="请填写学校名称!" ValidationGroup="search"
                                    Display="None" ControlToValidate="txtSearch"></asp:RequiredFieldValidator></td>
                            <td style="padding-left: 5px;">
                                <asp:Button ID="btnSearch" runat="server" Text="搜 索" OnClick="btnSearch_Click" ValidationGroup="search" /><asp:ValidationSummary
                                    ID="ValidationSummary1" runat="server" ShowMessageBox="true" ShowSummary="false"
                                    ValidationGroup="search" />
                                &nbsp;
                            </td>
                            <td style="padding-left:5px;">
                                <a href="javascript:void(0);" onclick="javascript:openDlg('SchoolAdd','新增学校','../Setting/SchoolDicDetail.aspx',670,180,'SchoolDialog');">新增学校</a></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                <ctl:Repeater ID="rptCustomer" runat="server">
                    <HeaderTemplate>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" id="tableData">
                        <tr>
                            
                            <th>
                                学校名称</th>
                        </tr>
                        </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="tr_data" onmouseout="mout(this);" onmouseover="mover(this);">
                                    <td>
                                        <a href="javascript:void(0)" onclick="funGetValue('<%#Eval("SchoolName")%>','<%#Eval("Id")%>')">
                                            <%#Eval("SchoolName")%>
                                        </a>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        <FooterTemplate>
                </table>
            </FooterTemplate>
         </ctl:Repeater>
                   
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
